package com.coffee.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * Admin启动类
 *
 * @author Kevin
 */
@Import(cn.hutool.extra.spring.SpringUtil.class)
@MapperScan({"com.coffee.**.mapper"})
@ComponentScan("com.coffee.*")
@SpringBootApplication
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
